package com.teradata.feedProc;

/**
 * Iterator over a file.
 */
public interface IFileIterator<E> {

	/**
	 * To check if there is more content to read
	 * @return true if there are more lines to read; false otherwise
	 */
	boolean hasMoreLines();

	/**
	 * Returns the contents of next line
	 */
	E getNextLine();

}
